<template>
    <SvgIcon :name="menuIcon" color="#8a8a8a" height="26px" width="26px" @click="menuSotre.triggerOpen"></SvgIcon>
</template>

<script setup>
import { computed, ref } from 'vue';
import SvgIcon from './SvgIcon.vue'
import { useMenuStore } from '@/stores/menu'


const menuSotre = useMenuStore()

const menuIcon = computed(() => {
    return menuSotre.collapse ? 'menuOpen':'menuClose'
})


</script>

<style scoped></style>